package com.ruoyi.order.domain;

import com.ruoyi.common.core.annotation.Excel;

import java.util.List;

public class OrderDTO {


    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long orderNum;


    /** 用户名 */
    @Excel(name = "用户名")
    private String cuserName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long cuserId;

    /** 订单总金额 */
    @Excel(name = "订单总金额")
    private String totalAmount;

    /** 订单应付金额 */
    @Excel(name = "订单应付金额")
    private String totalPayamount;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String payType;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderType;

    /** 桌号 */
    private  String tableId;

    /** 订单详情 */
    private List<MenuDTO> menus;

    public List<MenuDTO> getMenus() {
        return menus;
    }

    public void setMenus(List<MenuDTO> menus) {
        this.menus = menus;
    }

    public OrderDTO(Long orderNum, String cuserName, Long cuserId, String totalAmount, String totalPayamount, String payType, String orderType, String tableId) {
        this.orderNum = orderNum;
        this.cuserName = cuserName;
        this.cuserId = cuserId;
        this.totalAmount = totalAmount;
        this.totalPayamount = totalPayamount;
        this.payType = payType;
        this.orderType = orderType;
        this.tableId = tableId;
    }

    public OrderDTO() {
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public String getCuserName() {
        return cuserName;
    }

    public void setCuserName(String cuserName) {
        this.cuserName = cuserName;
    }

    public Long getCuserId() {
        return cuserId;
    }

    public void setCuserId(Long cuserId) {
        this.cuserId = cuserId;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getTotalPayamount() {
        return totalPayamount;
    }

    public void setTotalPayamount(String totalPayamount) {
        this.totalPayamount = totalPayamount;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }
}
